from meiduo_admin.mypackage import *

class GroupViewSet(ModelViewSet):
    queryset = Group.objects.all()
    serializer_class = GroupModelSerializer
    pagination_class = MyPage

class GroupPermView(ListAPIView):
    queryset = Permission.objects.all()
    serializer_class = PermModelSerializer